package org.platform.executor.diagnose;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd41002.DelTaskRequestParam;
import org.platform.mo.csmo.cmd41002.DelTaskResponseParam;
import org.platform.service.diagnose.DiagnoseTaskServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/6/8
 */
@Service
public class DelTaskExecutor implements IMicProviderServiceExecutor<DelTaskRequestParam, DelTaskResponseParam> {
    @Autowired
    private DiagnoseTaskServiceImpl service;

    @Override
    public DelTaskResponseParam doExecute(DelTaskRequestParam delTaskRequestParam) {
        return service.delTask(delTaskRequestParam);
    }

}
